<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            text-align: center;
        }
    </style>
</head>
<body>
<div>
    <b>账号登陆:</b>
    <form action="stu/studentservlet" method="get" autocomplete="on" >
        <label for="id">用户名:</label>
        <input id="id" type="text" name="id" placeholder="请输入id"><br>
        <label for="psw">密码:</label>
        <input id="psw" type="password" name="psw" placeholder="请输入psw"><br>
        <button type="submit">登陆</button>
        <a href="test2.html"><button type="button">注册</button></a>
    </form>

</div>
</body>
</html>